|
|
|
|
|
|
|
Table relationships will automatically be displayed if they already exist in the database. However, if the database you are using does not have relationship information, you need to define the relationships in the SQL Builder. As you drag tables into the work area, you should notice that a SQL statement is being built. However, there are no columns in the statement yet. |
|
|
|
|
|
|
|
|
Note If the database does not have relationships specified, you can add them to the query by dragging the column(s) from one table to the column(s) in the other table. |
|
|
|
|
|
|
|
|
|
Now, to add columns, you can either click the check box for the required columns, drag each column you want to the Column area in the middle of the dialog, or use the drop-down list of all available columns, as shown in Figure 12.6. |
|
|
|
|
|
|
|
|
Figure 12.6.
Adding columns to the query and updating the SQL statement. |
|
|
|
|
|
|
|
|
Note Refer back to Table 12.1 for the complete list of columns to add to the primary command. |
|
|
|
|
|
|